.px2rem(@name, @px) {
    @{name}: @px / 75 * 1rem;
}

.header {
    z-index: 999;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background-color: #fff;
    padding: 2% 0;
    
    div:nth-child(1) {
        width: 20%;
        float: left;
        margin-top: 3%;
        margin-left: 5%;
        dl {
            dt {
                width: 45%;
                float: left;
                padding-right: 3%;
                img {
                    width: 100%;
                }
            }
            dd:nth-child(2) {
                .px2rem(font-size, 30);
            }
            dd:nth-child(3) {
                padding-top: 2%;
            }
        }
    }
    div:nth-child(2) {
        width: 50%;
        float: left;
        display: flex;
        justify-content: center;
        align-items: center;
        .navs{
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 4%;
            z-index:999;
            dl {
                text-align: center;
              
                dt {
                   
                    h1{
                        .px2rem(font-size, 36);

                    }
                }
                dd {
                    .px2rem(font-size, 20);
                    padding: 8% 0;
                
                }
            }
        }
       .active{
            border-bottom: 8px solid #000;
        }
    }
    div:nth-child(3) {
        width: 20%;
        float: left;
        text-align: center;
        margin-top: 3%;
        margin-left: 2%;
        i {
            .px2rem(font-size, 46);
            z-index: 999;
        }
    }
}
.nav {
    margin-top: 15%;
    background: #eeeeee;
    padding-bottom: 5%;
    .ps {
        display: flex;
        justify-content: center;
        align-items: center;
        span {
            padding: 4% 0;
        }
        span:nth-child(1) {
            .px2rem(font-size, 30);
            padding-right: 5%;
        }
        span:nth-child(2) {
            width: 50%;
        }
        span:nth-child(3) {
            color: #6aad74;
            .px2rem(font-size, 28);
        }
    }
    .chatroom {
        overflow: hidden;
        display: flex;
        align-items: center;
        .chatroom1 {
            .px2rem(width, 250);
            .px2rem(height, 234);
            background-color: #fff;
            margin-left: 3%;
            border-radius: 20px;
            text-align: center;
            i {
                margin-top: 30%;
                .px2rem(font-size, 90);
                color: #6aad74;
            }
            p {
                .px2rem(font-size, 22);
                color: #999;
                margin-top: 15%;
            }
        }
        .swiper-slide {
            margin-left: 5%;
        }
        .chatroom2 {
            .px2rem(width, 360);
            .px2rem(height, 234);
            background-color: #fff;
            border-radius: 20px;
            p {
                display: flex;
                justify-content: center;
                align-items: center;
                padding: 4% 0;
                span {
                    img {
                        width: 120%;
                    }
                }
                span:nth-child(2) {
                    padding-left: 5%;
                }
                span:nth-child(3) {
                    padding-left: 20%;
                    color: #54ac65;
                    i {
                        .px2rem(font-size, 18);
                        padding-right: 10%;
                    }
                }
            }
        }
        .chatroom3 {
            .px2rem(width, 360);
            .px2rem(height, 234);
            background-color: #fff;
            border-radius: 20px;
            p:nth-child(1) {
                display: flex;
                justify-content: center;
                align-items: center;
                padding: 4% 0;
                span {
                    img {
                        width: 120%;
                    }
                }
                span:nth-child(2) {
                    padding-left: 5%;
                }
                span:nth-child(3) {
                    padding-left: 20%;
                    color: #54ac65;
                    i {
                        .px2rem(font-size, 18);
                        padding-right: 10%;
                    }
                }
            }
        }
        i:nth-child(2) {
            color: #54ac65;
            .px2rem(font-size, 60);
            margin-left: 10%;
        }
    }
}
.divss{

    display: flex;
    justify-content: center;
    align-items: center;
    background-color:#e2e2e2;
    margin-top: 17%;
    .px2rem(border-radius, 10);
    border:2px solid #999;
    dl{
      text-align:center;
      flex:1;
      padding: 2%;
      margin: 2%;
       .px2rem(border-radius, 15);
        background-image: url(../images/!!a.png);
        background-repeat: no-repeat;
        background-position: center;
      dd{
        padding:3% 0;
        color:#fff;

      }
      dd:nth-child(1){
          .px2rem(font-size, 32);
      }
    }
}
.main {
    padding-top: 2%;
    .dls {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 2% 0;
        dl {
            width: 35%;
            margin-left: 5%;
            dt {
                width: 45%;
                float: left;
                padding-right: 2%;
                img {
                    width: 90%;
                }
            }
            dd:nth-child(2) {
                .px2rem(font-size, 34);
                h1 {
                    padding-top: 6%;
                    color: #404040;
                }
            }
            dd:nth-child(3) {
                padding-top: 5%;
                color: #b8b8b8;
            }
        }
    }
    .ps {
        display: flex;
        align-items: center;
        .px2rem(font-size, 30);
        padding-left: 5%;
    }
    .imgs {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 4% 0;
        img {
            width: 90%;
            padding-bottom: 2%;
        }
    }
}

.sectionMain {
    padding-top: 2%;
    margin-bottom: 16%;
    .sectdls {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 2% 0;
        dl {
            width: 35%;
            margin-left: 5%;
            dt {
                width: 45%;
                float: left;
                padding-right: 2%;
                img {
                    width: 90%;
                }
            }
            dd:nth-child(2) {
                .px2rem(font-size, 34);
                h1 {
                    padding-top: 6%;
                    color: #404040;
                }
            }
            dd:nth-child(3) {
                padding-top: 5%;
                color: #b8b8b8;
            }
        }
        span {
            margin-left: 38%;
            color: #fff;
            background: #56ad66;
            display: flex;
            justify-content: center;
            align-items: center;
            .px2rem(border-radius, 20);
            .px2rem(width, 125);
            .px2rem(height, 46);
            .px2rem(font-size, 30);
        }
    }
    .sectps {
        padding-top: 2%;
        display: flex;
        align-items: center;
        .px2rem(font-size, 30);
        padding-left: 5%;
        .px2rem(line-height, 40);
    }
    .sectimgs {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 4% 0;
        img {
            width: 90%;
            padding-bottom: 2%;
        }
    }
    .sectspan {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 4%;
        border-bottom: 1px solid #ccc;
        span {
            flex: 1;
            padding: 3% 0;
            text-align: center;
            .px2rem(font-size, 28);
            color: #ccc;
            i {
                .px2rem(font-size, 36);
                padding: 0 3%;
            }
        }
    }
}

.divfooter {
    width: 25%;
    background: rgba(64, 64, 64, 0.7);
    position: fixed;
    right: 0;
    bottom: 13%;
    padding: 4%;
    margin-right: -10%;
    z-index:999;
    .px2rem(border-radius, 15);
    dl {
        color: #fff;
        dt {
            float: left;
            padding-right: 3%;
            .px2rem(font-size, 50);
        }
        dd:nth-child(2) {
            .px2rem(font-size, 25);
            display: inline;
            h1 {
                display: inline;
            }
        }
        dd:nth-child(3) {
            padding-top: 2%;
            display: inline;
            .px2rem(font-size, 18);
        }
    }
}

.footer {
    width: 100%;
    background-color: #fff;
    position: fixed;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index:999;
    a {
        padding: 2%;
        width: 15%;
        dl {
            dt {
                width: 100%;
                .px2rem(font-size, 36);
                text-align: center;
            }
            dd {
                padding-top: 11%;
                text-align: center;
                .px2rem(font-size, 22);
            }
        }
    }
     a:nth-child(1) {
       color:#56130a;
       font-weight: 900;     
    }
    a:nth-child(3) {
        display: flex;
        justify-content: center;
        align-items: center;
        .px2rem(font-size, 100);

    }
    a:hover {
        background: red;
        .px2rem(border-radius, 15);
    }
}